<?php
#Template for Member Login
$page = (isset($page)) ? $page : 'requests';
include "inc/local_data.php";
$form = (isset($using_real_env) && $using_real_env) ? $form : ((isset($data[$page])) ? $data[$page] : array());
if (empty($form)) exit;

?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <title><?php echo $form['title'];?></title>
		<?php include('inc/embed_top.php');?>
    </head>
    <body mlang="<?php echo $form['lang'];?>">
    	<div id="tpindex" data-role="page" data-theme="f">
            <div class="ltit_full"><span class="r"><?php //echo $form['request_title'];?></span></div>
            <?php
                foreach((array)$form['request_notes']['h1'] as $val) {
                    echo '<h1>'.$val.'</h1>';
                }
            ?>
            <ul>
                <?php
                foreach((array)$form['request_notes']['li'] as $val) {
                    echo '<li>'.$val.'</li>';
                }
                ?>
            </ul>
            <?php
                if (strtoupper($form['pg']) == 'CSL') {
            ?>
                    <div class="network" data-role="controlgroup" data-type="horizontal" data-role="fieldcontain">
                        <input type="radio" name="network" value="3g" id="network1" checked="checked" />
                        <label for="network1">3G</label>
                        <input type="radio" name="network" value="wifi" id="network2" />
                        <label for="network2">WIFI</label>
                    </div>
            <?php
                }
            ?>
            <div class="ui-cbtn clearfix">
            	<a href="<?php echo $form['button']['request']['link'];?>" rel="external" data-role="button"><?php echo $form['button']['request']['value'];?></a>
            	<a href="<?php echo $form['button']['cancel']['link'];?>" rel="external" data-role="button"><?php echo $form['button']['cancel']['value'];?></a>
            </div>
    	</div>
		<?php include('inc/embed_bottom.php');?>
    </body>
</html>
